<?php
// +----------------------------------------------------------------------
// | LTHINK [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2015-2016 http://LTHINK.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 涛哥 <liangtao.gz@foxmail.com>
// +----------------------------------------------------------------------
// | sdk_config.php 2015-12-01
// +----------------------------------------------------------------------

//定义回调URL通用的URL
define('URL_CALLBACK', 'http://' . $_SERVER['SERVER_NAME'] . '/index/Oauth/callback/type/');

return [
    //支付宝登录mapi
    'THINK_SDK_ALIPAY' => [
        'APP_KEY' => '2017092808976662', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'alipay',
    ],
    //微信登录
    'THINK_SDK_WEIXIN' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'weixin',
    ],
    //腾讯QQ登录配置
    'THINK_SDK_QQ' => [
        'APP_KEY' => '101496008', //应用注册成功后分配的 APP ID
        'APP_SECRET' => 'bb4be8c6087f8ed598130a20e1e6e938', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'qq',
    ],
    //腾讯微博配置
    'THINK_SDK_TENCENT' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'tencent',
    ],
    //新浪微博配置
    'THINK_SDK_SINA' => [
        'APP_KEY' => '3370897802', //应用注册成功后分配的 APP ID
        'APP_SECRET' => 'e096853f5541e9aa9ef0e4ba58ca9e31', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'sina',
    ],
    //网易微博配置
    'THINK_SDK_T163' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 't163',
    ],
    //人人网配置
    'THINK_SDK_RENREN' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'renren',
    ],
    //360配置
    'THINK_SDK_X360' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'x360',
    ],
    //豆瓣配置
    'THINK_SDK_DOUBAN' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'douban',
    ],
    //Github配置
    'THINK_SDK_GITHUB' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'github',
    ],
    //Google配置
    'THINK_SDK_GOOGLE' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'google',
    ],
    //MSN配置
    'THINK_SDK_MSN' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'msn',
    ],
    //点点配置
    'THINK_SDK_DIANDIAN' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'diandian',
    ],
    //淘宝网配置
    'THINK_SDK_TAOBAO' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'taobao',
    ],
    //百度配置
    'THINK_SDK_BAIDU' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'baidu',
    ],
    //开心网配置
    'THINK_SDK_KAIXIN' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'kaixin',
    ],
    //搜狐微博配置
    'THINK_SDK_SOHU' => [
        'APP_KEY' => '', //应用注册成功后分配的 APP ID
        'APP_SECRET' => '', //应用注册成功后分配的KEY
        'CALLBACK' => URL_CALLBACK . 'sohu',
    ],

];